package cn.service.backend_user;

import cn.mapper.backend_user.Backend_userMapper;
import cn.pojo.Backend_user;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Transactional(rollbackFor = Throwable.class)
@Service("backend_userService")
public class Backend_userServiceImpl implements Backend_userService {

    @Resource
    private Backend_userMapper backend_userMapper;

    public Backend_user getBackend_userLogin(String userCode, String userPassword) {
        return backend_userMapper.getBackend_userLogin(userCode,userPassword);
    }
}
